package com.ruoyi.monitor.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 局部热处理实时数据对象 monitor_part
 * 
 * @author ruoyi
 * @date 2023-02-12
 */
public class MonitorPart extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private Long id;

    /** 加热器编号 */
    @Excel(name = "加热器编号")
    private String weldCode;

    /** 温度(℃) */
    @Excel(name = "温度(℃)")
    private String temperature;

    /** 功率(KW) */
    @Excel(name = "功率(KW)")
    private String power;

    /** 电流(A) */
    @Excel(name = "电流(A)")
    private String weldCurrent;

    /** 电压(v) */
    @Excel(name = "电压(v)")
    private String weldVoltage;

    /** 上传时间 */
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss")
    @Excel(name = "上传时间", width = 30, dateFormat = "yyyy-MM-dd hh:mm:ss")
    private Date taskCreateTime;

    /** 预留1 */
    private String spare1;

    /** 预留2 */
    private String spare2;

    /** 预留3 */
    private String spare3;

    /** 预留4 */
    private String spare4;

    /** 预留5 */
    private String spare5;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setWeldCode(String weldCode) 
    {
        this.weldCode = weldCode;
    }

    public String getWeldCode() 
    {
        return weldCode;
    }
    public void setTemperature(String temperature) 
    {
        this.temperature = temperature;
    }

    public String getTemperature() 
    {
        return temperature;
    }
    public void setPower(String power) 
    {
        this.power = power;
    }

    public String getPower() 
    {
        return power;
    }
    public void setWeldCurrent(String weldCurrent) 
    {
        this.weldCurrent = weldCurrent;
    }

    public String getWeldCurrent() 
    {
        return weldCurrent;
    }
    public void setWeldVoltage(String weldVoltage) 
    {
        this.weldVoltage = weldVoltage;
    }

    public String getWeldVoltage() 
    {
        return weldVoltage;
    }
    public void setTaskCreateTime(Date taskCreateTime) 
    {
        this.taskCreateTime = taskCreateTime;
    }

    public Date getTaskCreateTime() 
    {
        return taskCreateTime;
    }
    public void setSpare1(String spare1) 
    {
        this.spare1 = spare1;
    }

    public String getSpare1() 
    {
        return spare1;
    }
    public void setSpare2(String spare2) 
    {
        this.spare2 = spare2;
    }

    public String getSpare2() 
    {
        return spare2;
    }
    public void setSpare3(String spare3) 
    {
        this.spare3 = spare3;
    }

    public String getSpare3() 
    {
        return spare3;
    }
    public void setSpare4(String spare4) 
    {
        this.spare4 = spare4;
    }

    public String getSpare4() 
    {
        return spare4;
    }
    public void setSpare5(String spare5) 
    {
        this.spare5 = spare5;
    }

    public String getSpare5() 
    {
        return spare5;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("weldCode", getWeldCode())
            .append("temperature", getTemperature())
            .append("power", getPower())
            .append("weldCurrent", getWeldCurrent())
            .append("weldVoltage", getWeldVoltage())
            .append("taskCreateTime", getTaskCreateTime())
            .append("spare1", getSpare1())
            .append("spare2", getSpare2())
            .append("spare3", getSpare3())
            .append("spare4", getSpare4())
            .append("spare5", getSpare5())
            .toString();
    }
}
